
class Coffee:
    def __init__(self, name, price, ingredients):
        """
        :param name: 名称
        :param price: 价格
        :param ingredients: 配料
        """
        self.name = name
        self.price = price
        self.ingredients = ingredients

    def __str__(self):
        return f"{self.name}({self.price}):{self.ingredients}"


